package cn.zyb.user.mapper;

import cn.zyb.user.domain.User;
import cn.zyb.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-07-11
 */
public interface UserMapper extends BaseMapper<User> {

  User loadByPhone(String phone);
  //通过email查询数据
  User loadByEmail(String email);
  User loadByLogininfoId(Long id);
}
